import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {path:'/',component:() => import('@/views/LayoutPage.vue')},
    {path:'/login',component:() => import('@/views/LoginPage.vue')},
    {path:'/register',component:() => import('@/views/RegisterPage.vue')},
    {path:'/drink',component:() => import('@/views/DrinkPage.vue')},
    {path:'/prodetail',component:() => import('@/views/Prodetail.vue')}

  ]
})

export default router
